package org.springboot.user;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

 
 
public interface UserService {

  
    //删除用户
    void deleteByCode(String code);

    //不同条件的查询
    java.util.List<Map<String, Object>> queryBycode(String code);
    java.util.List<Map<String, Object>> queryByname(String name);
    java.util.List<Map<String, Object>> queryBydate(String[] date);
    java.util.List<Map<String, Object>> queryByClass(String Class);
    
    //修改用户
    void alterByCode(String code,String name,String remark);
   
    //重置用户状态
    void setState(String code,String state);
    //添加用户
	void add(String name, String code,String remark,String state,String create_time,String account_class);


}
